<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>IE6-7 line-height 失效的问题</title>
        <style>
            .lh-30px{
                line-height: 30px;
            }
            .fl{
                float: left;
            }
            .fr{
                float: right;
            }
        </style>
    </head>
    <body>
        <div class="container"><img src="img/tourism1.png" class="fl" alt="背景图片" /><span class="lh-30px fl">好好学习</span></div>
    </body>
</html>